@import '@/app/styles/variables';

.modal {
  padding: 56px 56px 48px 56px;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.image {
  position: relative;
  width: 164px;
  height: 164px;
  overflow: hidden;
  svg {
    position: absolute;
    bottom: 0;
  }
}

.title {
  color: var(--simple-night, #000);
  text-align: center;

  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px; /* 125% */
}

.info {
  color: var(--simple-gray-evening, #ababab);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
}

.description {
  color: var(--gray-black, #000);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 26px; /* 144.444% */
}

.questions {
  color: var(--simple-gray-evening, #ababab);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px; /* 137.5% */
}

.link {
  font-size: inherit;
}

.title_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  align-self: stretch;
}

.text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  align-self: stretch;
}

@include media(sm) {
  .modal {
    display: flex;
    padding: 0 16px 24px 16px;
    flex-direction: column;
    align-items: center;
  }
  .container {
    padding-top: 16px;
    gap: 24px;
  }
  .image {
    width: 164px;
    height: 164px;
    svg {
      scale: calc(128 / 164);
    }
  }
  .title {
    font-size: 24px;
    line-height: 30px; /* 125% */
  }
  .info {
    font-size: 14px;
    line-height: 20px; /* 125% */
  }
  .description {
    font-size: 16px;
    line-height: 22px; /* 125% */
  }
  .questions {
    font-size: 14px;
  }
}
